]> dgit.raspbian.org Git - gnome-shell.git/commit
shell-screenshot: Fix cursor fetching for non single window screenshots
authorAdel Gadllah <adel.gadllah@gmail.com>
Sun, 10 Feb 2013 13:18:54 +0000 (14:18 +0100)
committerAdel Gadllah <adel.gadllah@gmail.com>
Mon, 11 Feb 2013 18:53:54 +0000 (19:53 +0100)
commitcdc4f85e478f2bf59dcffe1a1449af54b9086381
tree8be4d906fb50ae0fedf6f814c5ecc61fc2b27294
parentb2fb84e36146a0352abe495204e1a887bcd0ef38
shell-screenshot: Fix cursor fetching for non single window screenshots

We have to mark the cairo_surface dirty after modifying the data behind
cairo's back.

Also use CAIRO_FORMAT_ARGB32 rather then CAIRO_FORMAT_RGB24 for the
surface to be consistent with the rest of the code.

https://bugzilla.gnome.org/show_bug.cgi?id=691715
src/shell-screenshot.c